package cn.com.wangluotongxin.merchants.rabbitmq;

import cn.com.wangluotongxin.merchants.rabbitmq.listener.MerchantsRabbitmqConstants;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitmqQueue {

    /**
     * 商品审核结束
     */
    @Bean
    public Queue goodsAuditEnd(){
        return new Queue(MerchantsRabbitmqConstants.GOODS_INFO_AUDIT_END, true);
    }
}
